package com.ruoyi.basebill.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.basebill.mapper.WfzWebserviceMapper;
import com.ruoyi.basebill.domain.WfzWebservice;
import com.ruoyi.basebill.service.IWfzWebserviceService;

/**
 * 接口配置Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-01-03
 */
@Service
public class WfzWebserviceServiceImpl implements IWfzWebserviceService 
{
    @Autowired
    private WfzWebserviceMapper wfzWebserviceMapper;

    /**
     * 查询接口配置
     * 
     * @param fid 接口配置主键
     * @return 接口配置
     */
    @Override
    public WfzWebservice selectWfzWebserviceByFid(Long fid)
    {
        return wfzWebserviceMapper.selectWfzWebserviceByFid(fid);
    }

    /**
     * 查询接口配置列表
     * 
     * @param wfzWebservice 接口配置
     * @return 接口配置
     */
    @Override
    public List<WfzWebservice> selectWfzWebserviceList(WfzWebservice wfzWebservice)
    {
        return wfzWebserviceMapper.selectWfzWebserviceList(wfzWebservice);
    }

    /**
     * 新增接口配置
     * 
     * @param wfzWebservice 接口配置
     * @return 结果
     */
    @Override
    public int insertWfzWebservice(WfzWebservice wfzWebservice)
    {
        return wfzWebserviceMapper.insertWfzWebservice(wfzWebservice);
    }

    /**
     * 修改接口配置
     * 
     * @param wfzWebservice 接口配置
     * @return 结果
     */
    @Override
    public int updateWfzWebservice(WfzWebservice wfzWebservice)
    {
        return wfzWebserviceMapper.updateWfzWebservice(wfzWebservice);
    }

    /**
     * 批量删除接口配置
     * 
     * @param fids 需要删除的接口配置主键
     * @return 结果
     */
    @Override
    public int deleteWfzWebserviceByFids(Long[] fids)
    {
        return wfzWebserviceMapper.deleteWfzWebserviceByFids(fids);
    }

    /**
     * 删除接口配置信息
     * 
     * @param fid 接口配置主键
     * @return 结果
     */
    @Override
    public int deleteWfzWebserviceByFid(Long fid)
    {
        return wfzWebserviceMapper.deleteWfzWebserviceByFid(fid);
    }
}
